package com.caigou.service;

import com.caigou.bean.cms.entity.ArticleProduct;
import com.caigou.pojo.ArticleProductData;
import org.apache.ibatis.annotations.Param;

public interface ArticleProductService {
    ArticleProduct saveArticleProductData(String articleId, Integer channelId, String productName, String productPrice, String productModel, String productPurpose, Integer productImageId, String productImage, String productContent);

    ArticleProductData loadArticleProductData(String articleId);

    int updateArticleProductData(String articleId, Integer productChannelId, String productName, String productPrice, String productModel, String productPurpose, Integer productImageId, String productImage, String productContent);

    int deleteArticleProductByArticleId(String articleId);
}
